package com.ruoyi.common.domain.word;


import com.alibaba.fastjson2.JSONArray;
import com.alibaba.fastjson2.JSONObject;

import javax.persistence.Id;
import java.util.Date;

public class BaiduWordExt {

    @Id
    private Long id;

    private String from;
    private String to;
    private String src;
    private String dst;
    private Integer type;
    private JSONArray phonetic;
    private JSONObject dict;

    private Date createTime;
    private Date updateTime;

    /**
     * 例句
     */
    private JSONObject eg;

    private JSONArray keywords;

    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getSrc() {
        return src;
    }

    public void setSrc(String src) {
        this.src = src;
    }

    public String getDst() {
        return dst;
    }

    public void setDst(String dst) {
        this.dst = dst;
    }

    public JSONObject getDict() {
        return dict;
    }

    public void setDict(JSONObject dict) {
        this.dict = dict;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public JSONArray getPhonetic() {
        return phonetic;
    }

    public void setPhonetic(JSONArray phonetic) {
        this.phonetic = phonetic;
    }

    public JSONObject getEg() {
        return eg;
    }

    public void setEg(JSONObject eg) {
        this.eg = eg;
    }

    public JSONArray getKeywords() {
        return keywords;
    }

    public void setKeywords(JSONArray keywords) {
        this.keywords = keywords;
    }
}
